package java_DesignPattern.SixPrinciple.CompositeReusePrinciple.Right;

/**
 * 合成复用原则测试类
 */
public class Test {

    public static void main(String[] args) {
        Car car = new Car(Red::new);
    }
}
